package com.lili.model.setting;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author tianwenle
 * @since 2023-08-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("li_menu")
public class Menu extends SettingBaseEntity implements Serializable {

    private static final long serialVersionUID=1L;


    /**
     * 说明备注
     */
    private String description;

    /**
     * 前端路由
     */
    private String frontRoute;

    /**
     * 图标
     */
    private String icon;

    /**
     * 层级
     */
    private Integer level;

    /**
     * 菜单/权限名称
     */
    private String name;

    /**
     * 父id
     */
    private String parentId;

    /**
     * 赋权API地址,正则表达式
     */
    private String path;

    /**
     * 排序值
     */
    private BigDecimal sortOrder;

    /**
     * 菜单标题
     */
    private String title;

    /**
     * 文件地址
     */
    private String frontComponent;

    /**
     * 权限url
     */
    private String permission;


}
